This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
That code has bugs in it and doesn't always sort properly. It's the same code that was in the Sandbox db a long time ago.
I discovered the problem with this code when I wrote my own QuickSort. I was timing both sorts to see which was fastest. After sorting, I would validate the sort to ensure it was correct. I wrote the validation mostly for my code, but the sorting errors popped up in the Sandbox code.
The code is also faulty because it relies on LotusScript stack space, of which there isn't a lot of. My QuickSort is self-stacked, so if there's enough memory to start running, it always completes.
I'll see if I can post it...
Feedback response number WEBB8YZ6XH created by ~Kim Quetnulylen on 10/12/2012